#include "pch.h"
#include "main.h"

using namespace std;

int main(int argc,char** argv)
{
	init_stream();
	try {
		token_stream ts("test.chl");
		analysis analy(ts);
		analy.analy();
		application a(analy);
		a.start();
	}
	catch(Error e)
	{
		cerr << e.msg << ":" << e.file_name << "," << e.line << endl;
		exit(1);
	}
	return 0;

}